package com.springboot.rookie.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@TableName("sys_user")
public class SysUserBean {
    private Integer userId;
    private Integer deptId;
    private String userName;
    private String nickName;
    private String password;
    private String phone;
    private Integer sex; // 0:女 1:男
    private String email;
    private String avatar;
    //该字段在表中不存在
    @TableField(exist = false)
    private Integer roleId;
}
